/**
 */
package org.karelun.whiteboard.impl;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

import org.karelun.whiteboard.FontStyle;
import org.karelun.whiteboard.Fonted;
import org.karelun.whiteboard.WhiteboardPackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Fonted</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link org.karelun.whiteboard.impl.FontedImpl#getName <em>Name</em>}</li>
 *   <li>{@link org.karelun.whiteboard.impl.FontedImpl#getHeight <em>Height</em>}</li>
 *   <li>{@link org.karelun.whiteboard.impl.FontedImpl#getStyle <em>Style</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class FontedImpl extends CDOObjectImpl implements Fonted {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected FontedImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return WhiteboardPackage.Literals.FONTED;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
		return (String)eGet(WhiteboardPackage.Literals.FONTED__NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setName(String newName) {
		eSet(WhiteboardPackage.Literals.FONTED__NAME, newName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public float getHeight() {
		return (Float)eGet(WhiteboardPackage.Literals.FONTED__HEIGHT, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setHeight(float newHeight) {
		eSet(WhiteboardPackage.Literals.FONTED__HEIGHT, newHeight);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public FontStyle getStyle() {
		return (FontStyle)eGet(WhiteboardPackage.Literals.FONTED__STYLE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setStyle(FontStyle newStyle) {
		eSet(WhiteboardPackage.Literals.FONTED__STYLE, newStyle);
	}

} //FontedImpl
